package com.air;

import com.air.entity.City;
import org.junit.Test;

public class main {

    @Test
    public void test() throws CloneNotSupportedException {
        City city = new City(1,"asd");
        System.out.println(city);

        City city1 = city;

        System.out.println(city1);
        System.out.println(city == city1);

        City city2 = city.clone();
        System.out.println(city == city2);

        city.setId(2);

        System.out.println(city);
        System.out.println(city2);

        String aa = "rftghjkl;";
        switch (aa){
            case "cgvhbj":
                break;
            case "dgjuhi":
                break;
        }

//        String aa = "rftghjkl;";
//        byte var3 = -1;
//        switch(aa.hashCode()) {
//            case -1361940258:
//                if (aa.equals("cgvhbj")) {
//                    var3 = 0;
//                }
//                break;
//            case -1333655921:
//                if (aa.equals("dgjuhi")) {
//                    var3 = 1;
//                }
//        }
//
//        switch(var3) {
//            case 0:
//            case 1:
//            default:
//        }


    }

}
